package com.ruoyi.english.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单词对象 t_en_word
 * 
 * @author ruoyi
 * @date 2021-12-25
 */
public class EnWord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单词id */
    private Long wordId;

    /** 网络释义，该结果不一定存在 */
    @Excel(name = "网络释义，该结果不一定存在")
    private String web;

    /** 单词内容 */
    @Excel(name = "单词内容")
    private String wordName;

    /** 翻译结果 */
    @Excel(name = "翻译结果")
    private String translation;

    /** 字典url */
    @Excel(name = "字典url")
    private String dictUrl;

    /** 查询语种为支持语言时，存在 */
    @Excel(name = "查询语种为支持语言时，存在")
    private String webdictUrl;

    /** 词义 */
    @Excel(name = "词义")
    private String basic;

    /** 源语言发音地址 */
    @Excel(name = "源语言发音地址")
    private String speakUrl;

    public void setWordId(Long wordId)
    {
        this.wordId = wordId;
    }

    public Long getWordId()
    {
        return wordId;
    }
    public void setWeb(String web)
    {
        this.web = web;
    }

    public String getWeb()
    {
        return web;
    }
    public void setWordName(String wordName)
    {
        this.wordName = wordName;
    }

    public String getWordName()
    {
        return wordName;
    }
    public void setTranslation(String translation)
    {
        this.translation = translation;
    }

    public String getTranslation()
    {
        return translation;
    }
    public void setDictUrl(String dictUrl)
    {
        this.dictUrl = dictUrl;
    }

    public String getDictUrl()
    {
        return dictUrl;
    }
    public void setWebdictUrl(String webdictUrl)
    {
        this.webdictUrl = webdictUrl;
    }

    public String getWebdictUrl()
    {
        return webdictUrl;
    }
    public void setBasic(String basic)
    {
        this.basic = basic;
    }

    public String getBasic()
    {
        return basic;
    }
    public void setSpeakUrl(String speakUrl)
    {
        this.speakUrl = speakUrl;
    }

    public String getSpeakUrl()
    {
        return speakUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("wordId", getWordId())
                .append("web", getWeb())
                .append("wordName", getWordName())
                .append("translation", getTranslation())
                .append("dictUrl", getDictUrl())
                .append("webdictUrl", getWebdictUrl())
                .append("basic", getBasic())
                .append("speakUrl", getSpeakUrl())
                .append("createTime", getCreateTime())
                .toString();
    }
}
